.modal{
    display: none;
    &__overlayer, &__dialog{
        position: fixed;
        width: 100%;
        height: 100%;
        margin: auto;
        z-index: 100;
    }
    &__overlayer{
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        background: rgba(#000000, 0.32);
    }
    &__content{
        height: 100%;
    }
    &__dialog{
        z-index: 200;
        max-width: 300px;
        max-height: 360px;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
        background: #fff;
        border-radius: 6px;
        padding: 32px 24px;
    }
    &__action{
        margin-top: 24px;
        margin-top: auto;
    }
    &.is-open{
        display: block;
    }
}


.modal{
    &--images-list{
        .modal__title{
            text-align: center;
            display: flex;
            justify-content: center;
            justify-items: center;
            align-items: center;
            font-size: 24px;
            a{
                display: inline-block;
                font-weight: 400;
                margin-left: 8px;
                text-decoration: none;
                span{
                    display: inline-block;
                    padding: 0 8px;
                }
            }
        }
        .modal__dialog{
            max-width: 720px;
            max-height: 600px;
        }
        .modal__content{
            overflow: auto;
            display: flex;
            flex-direction: column;
            overflow: auto;
            max-height: 100%;
        }
        .tabs-nav{
            margin-bottom: 20px;
            justify-items: center;
            justify-content: center;
            margin: 24px auto;
        }
        .images-list{
            margin: 0 auto;
            width: 100%;
            &__search{
                margin-top: 0;
            }
            &__list {
                height: 420px;
                width: 100%;
            }
        }
        .modal__close{
            margin-top: 24px;
        }
    }
}
